{% extends 'base_loggedin.html' %}
{% block title %}
{{ block.super }} | {% ifequal mode "edit" %}Edit{% else %}New{% endifequal %} cloud server
{% endblock %}

{% block block_content %}
<div class="top">
    {% ifequal mode "edit" %}
    <p class="left">Edit Cloud Server</p>
    {% else %}
    <p class="left">New Cloud Server</p>
    {% endifequal %}
    <p class="right"><a href="/" title="">Back to Dashboard</a></p>
</div>

<div class="center">
    <form name="newcloudserver" action="#" method="post">
    <ul class="txt full">
        {% if subscriptionError %}
        <li>
        {{ subscriptionError }}
        </li>
        {% endif %}
        {{ form.as_ul }}
        <li>
            <a class="btn2" href="javascript:document.newcloudserver.submit()" title="">Save cloud server</a>
        </li>
    </ul>
    </form>
</div>
{% endblock %}
